package cn.getech.data.development.service.impl;

import cn.getech.data.development.entity.WorkFlowDep;
import cn.getech.data.development.mapper.WorkFlowDepMapper;
import cn.getech.data.development.service.IWorkFlowDepService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class IWorkFlowDepServiceImpl extends ServiceImpl<WorkFlowDepMapper, WorkFlowDep> implements IWorkFlowDepService {

    @Autowired
    private WorkFlowDepMapper depMapper;
    /**
     * 批量修改
     * @param deps
     */
    @Override
    public void updateBatch(List<Long> deps,Integer assigneePerId) {
        depMapper.updateBatch(deps,assigneePerId);
    }
}
